﻿namespace design.WorkWithDataClasses
{
	public class sArticle
	{
		public int Id { get; private set; }
		public int Id_media { get; private set; }
		public string ShortText { get; private set; }
		public string FullText { get; private set; }
		public string Date { get; private set; }
		public string Title { get; private set; }


		public sArticle(int id, int id_media, string shortText, string fullText, string date, string title)
		{
			this.Id = id;
			this.Id_media = id_media;
			this.ShortText = shortText;
			this.FullText = fullText;
			this.Date = date;
			this.Title = title;
		}
	}
}